var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        im.dispose();
        return
    }(d == 1) ? status++ : status--;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        im.dispose()
    } else {
        if (status === a++) {
            im.fieldEffect_PlayFieldSound("advStory/Buff7", 100);
            im.curNodeEventEnd(true);
            im.setInGameDirectionMode(true, true, true);
            im.inGameDirectionEvent_AskAnswerTime(500)
        } else {
            if (status === a++) {
                im.inGameDirectionEvent_AskAnswerTime(500);
                im.effect_REPEAT("Effect/Direction13.img/effect/zero/base/0", 1, 1, 1, 0, 0)
            } else {
                if (status === a++) {
                    im.inGameDirectionEvent_AskAnswerTime(1000);
                    im.effect_REPEAT("Effect/Direction13.img/effect/zero/arsen/0", 1, 1, 1, 0, 0)
                } else {
                    if (status === a++) {
                        im.inGameDirectionEvent_AskAnswerTime(500);
                        im.effect_REPEAT("Effect/Direction13.img/effect/zero/arsen/0", 1, 0, 0, 0, 0)
                    } else {
                        if (status === a++) {
                            im.inGameDirectionEvent_AskAnswerTime(1000);
                            im.effect_REPEAT("Effect/Direction13.img/effect/zero/rachel/0", 1, 1, 1, 0, 0)
                        } else {
                            if (status === a++) {
                                im.inGameDirectionEvent_AskAnswerTime(500);
                                im.effect_REPEAT("Effect/Direction13.img/effect/zero/rachel/0", 1, 0, 0, 0, 0)
                            } else {
                                if (status === a++) {
                                    im.inGameDirectionEvent_AskAnswerTime(1000);
                                    im.effect_REPEAT("Effect/Direction13.img/effect/zero/spidermark/0", 1, 1, 1, 0, 0)
                                } else {
                                    if (status === a++) {
                                        im.inGameDirectionEvent_AskAnswerTime(500);
                                        im.effect_REPEAT("Effect/Direction13.img/effect/zero/spidermark/0", 1, 0, 0, 0, 0)
                                    } else {
                                        if (status === a++) {
                                            im.inGameDirectionEvent_AskAnswerTime(1000);
                                            im.effect_REPEAT("Effect/Direction13.img/effect/zero/seaching/0", 1, 1, 1, 0, 0)
                                        } else {
                                            if (status === a++) {
                                                im.inGameDirectionEvent_AskAnswerTime(500);
                                                im.effect_REPEAT("Effect/Direction13.img/effect/zero/seaching/0", 1, 0, 0, 0, 0)
                                            } else {
                                                if (status === a++) {
                                                    im.sendNormalTalk("这些回忆是，我们所后悔的事情……", 41, 2400006, false, true);
                                                    im.effect_REPEAT("Effect/Direction13.img/effect/zero/base/0", 1, 0, 0, 0, 0)
                                                } else {
                                                    if (status === a++) {
                                                        im.sendNormalTalk("#face10##p2450000#……虽然那时我们也无能为力，不过如果能快些找出不洁者的话就好了。那样的话，雷切尔……也不会遭遇不测了。还有……我们也不会失去卡西亚斯了……", 41, 2400005, true, true)
                                                    } else {
                                                        if (status === a++) {
                                                            im.sendNormalTalk("#face10##p2400008#……", 41, 2400006, true, true)
                                                        } else {
                                                            if (status === a++) {
                                                                im.sendNormalTalk("#face10#…………", 41, 2400005, true, true)
                                                            } else {
                                                                if (status === a++) {
                                                                    im.sendNormalTalk("……就像我们拥有很多快乐的回忆一样，我们也有很多令人后悔的回忆。但是……这一切都是我们共同的抉择。因此，不洁者不可能会有后悔的事情。", 41, 2400005, true, true)
                                                                } else {
                                                                    if (status === a++) {
                                                                        im.forceStartQuest(40713, "1");
                                                                        im.inGameDirectionEvent_AskAnswerTime(500)
                                                                    } else {
                                                                        if (status === a++) {
                                                                            im.setInGameDirectionMode(false, true, false);
                                                                            im.dispose()
                                                                        }
                                                                    }
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
};